﻿<UserControl x:Class="Tanmia.Controls.ValidationTool"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" FlowDirection="RightToLeft" mc:Ignorable="d" d:DesignHeight="50" d:DesignWidth="300">
    <Grid>
        <Border Name="N" CornerRadius="6" BorderThickness="3" BorderBrush="#FFC6C6C6">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFF8F8F8" Offset="0" />
                    <GradientStop Color="#FFECECEC" Offset="1" />
                </LinearGradientBrush>
            </Border.Background>
            <StackPanel Orientation="Horizontal" CanHorizontallyScroll="True" CanVerticallyScroll="True">
                <Image Name="imgImage" Margin="4,0,4,0" Source="{Binding Path=VImage}" Stretch="None"/>
                <Label Content="{Binding Path=Label}" Name="lblError" VerticalContentAlignment="Center"/>
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
